﻿using System;
using System.Net;
using ScheduleMVVM.Model.RuntimeFramework;

namespace ScheduleMVVM.Model.PersistentFramework
{
    public sealed partial class Settings
    {
        /// <summary>
        /// Search engines collection
        /// </summary>
        public BaseEngine[] Engines
        { get; set; }
        /// <summary>
        /// Selected search engine form Engines collection
        /// </summary>
        public Int32 CurrentEngineIndex
        { get; set; }
        /// <summary>
        /// Maximum time interval before departure when a train is highlighted 
        /// </summary>
        public Int32 RelevanceTimeout
        { get; set; }
        /// <summary>
        /// Maximum number of simualteniously displayed trains
        /// </summary>
        public Int32 MaximumDisplayedResults
        { get; set; }
        /// <summary>
        /// Defines if background updater should be used
        /// </summary>
        public Boolean EnableBackgroundAgent
        { get; set; }
    }
}
